<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<f:view xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:p="http://primefaces.org/ui"
        xmlns:pm="http://primefaces.org/mobile"
        contentType="text/html"
        locale="#{staffMobileBean.locale}">

    <pm:page title="#{bundle.system_title}">
        <!-- Main View -->
        <pm:view id="main">
            <pm:header title="#{bundle.system_title}">
                <f:facet name="right">
                    <h:form>
                        <p:commandButton action="#" value="logout" icon="ui-icon ui-icon-logout"/>
                    </h:form>
                </f:facet>
            </pm:header>

            <pm:content>
                <p:dataList type="inset">
                    <f:facet name="header">#{bundle.index_location}</f:facet>
                    <h:outputLink value="/faces/admin/Commune.xhtml">#{communetext.commune_title}</h:outputLink>
                    <h:outputLink value="/faces/admin/Village.xhtml">#{villagetext.village_title}</h:outputLink>
                </p:dataList>

                <p:dataList type="inset">
                    <f:facet name="header">#{bundle.index_staff}</f:facet>
                    <h:outputLink value="/faces/admin/Staff.xhtml">#{stafftext.staff_title}</h:outputLink>
                    <h:outputLink value="/faces/admin/StaffRole.xhtml">#{staffroletext.staffrole_title}</h:outputLink>
                </p:dataList>

                <p:dataList type="inset">
                    <f:facet name="header">#{bundle.index_study}</f:facet>
                    <h:outputLink value="/faces/admin/Subject.xhtml">#{subjecttext.subject_title}</h:outputLink>
                    <h:outputLink value="/faces/admin/StudyStatus.xhtml">#{studystatustext.studystatus_title}</h:outputLink>
                    <h:outputLink value="/faces/admin/StudyGroup.xhtml">#{studygrouptext.studygroup_title}</h:outputLink>
                    <h:outputLink value="/faces/admin/Occupation.xhtml">#{occupationtext.occupation_title}</h:outputLink>
                </p:dataList>                

            </pm:content>

        </pm:view>        
    </pm:page>
</f:view>
